package cn.powerone.scm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.powerone.common.annotation.Excel;
import cn.powerone.common.core.domain.BaseEntity;

/**
 * 全局附件模板对象 scm_attachment_template
 * 
 * @author PowerOne
 * @date 2025-09-10
 */
public class ScmAttachmentTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一键 */
    private Long id;

    /** 模板类型 */
    @Excel(name = "模板类型")
    private Long attachmentType;

    /** 模板状态 */
    @Excel(name = "模板状态")
    private Long attachmentStatus;

    /** 模板名字 */
    @Excel(name = "模板名字")
    private String attachmentName;

    /** 模板地址 */
    @Excel(name = "模板地址")
    private String attachmentUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAttachmentType(Long attachmentType) 
    {
        this.attachmentType = attachmentType;
    }

    public Long getAttachmentType() 
    {
        return attachmentType;
    }
    public void setAttachmentStatus(Long attachmentStatus) 
    {
        this.attachmentStatus = attachmentStatus;
    }

    public Long getAttachmentStatus() 
    {
        return attachmentStatus;
    }
    public void setAttachmentName(String attachmentName) 
    {
        this.attachmentName = attachmentName;
    }

    public String getAttachmentName() 
    {
        return attachmentName;
    }
    public void setAttachmentUrl(String attachmentUrl) 
    {
        this.attachmentUrl = attachmentUrl;
    }

    public String getAttachmentUrl() 
    {
        return attachmentUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attachmentType", getAttachmentType())
            .append("attachmentStatus", getAttachmentStatus())
            .append("attachmentName", getAttachmentName())
            .append("attachmentUrl", getAttachmentUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
